-- GENERATED SPELL FOR [Drakkari Native] --


function spell0_29211(pUnit, Event) --@Throw Axe,n/a--
pUnit:FullCastSpellOnTarget(42332,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29211', 1000, 1)
end

function spell1_29211(pUnit, Event) --@Unwavering Will,Self--
pUnit:FullCastSpellOnTarget(51307,pUnit)
pUnit:RegisterEvent('Sorts_29211', 30256, 1)
end

function Sorts_29211(pUnit, Event)
local choix_sorts_29211 = math.random(0, 1)
if choix_sorts_29211 == 0 then
pUnit:RegisterEvent('spell0_29211', 1, 1)
end
if choix_sorts_29211 == 1 then
pUnit:RegisterEvent('spell1_29211', 1, 1)
end
end

function mob29211_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29211', math.random(1500, 3000), 1)
end

function mob29211_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29211_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29211_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29211, 1, 'mob29211_Action')
RegisterUnitEvent(29211, 2, 'mob29211_Leave')
RegisterUnitEvent(29211, 3, 'mob29211_Kill')
RegisterUnitEvent(29211, 4, 'mob29211_Die')
